package myky.com.doctorapp.contract;

import java.util.List;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import myky.com.doctorapp.base.BaseEntity;
import myky.com.doctorapp.base.BaseView;
import myky.com.doctorapp.entity.MyDoctorEntity;
import myky.com.doctorapp.entity.PageEntity;
import myky.com.doctorapp.entity.PatientEntity;

public interface MyDoctorContract {
    interface Model {

        Observable<BaseEntity<List<MyDoctorEntity.DataBean>>> findMyDoctorList(String version, String currentPagae, String pageSize);


        Observable<BaseEntity<Object>> allowedPermission(String casepermission,String doctorId,String version);
    }

    interface View extends BaseView<List<MyDoctorEntity.DataBean>> {


       void showAllowedPermissionResult(int postion);


    }

    interface Presenter {

        void findMyDoctorList(String version,String currentPagae,String pageSize);


       void  allowedPermission(String casepermission,String doctorId,String version,int postion);

    }
}
